package com.imooc.bilibili.auth;

import com.imooc.bilibili.domain.auth.UserAuthorities;

/**
 * @author gcq
 * @Create 2022-05-31
 */
public interface UserAuthService {

    /**
     * 获取用户权限
     *
     * @param userId 用户Id
     * @return
     */
    UserAuthorities getUserAuthorities(Long userId);

    /**
     * 添加用户默认角色
     *
     * @param id 用户id
     */
    void addUserDefaultRole(Long id);
}
